import java.util.Scanner;
public class a4 {
    public static void main(String[] args){
        Scanner input=new Scanner(System.in);
        System.out.println("请输入本次网购价格");
        int a1=input.nextInt();
        System.out.println("请输入客户和发货点之间的距离（公里数）");
        int a=input.nextInt();
        if(a>=0&&a<=10){
            double b1=10+a1;
            System.out.println("你所需缴纳的总金额为"+" "+b1);
        }
        if(a>=11&&a<=50){
            double b2=50+a1;
            System.out.println("你所需缴纳的总金额为"+" "+b2);
        }
        if(a>=51&&a<=100){
            double b3=100+a1;
            System.out.println("你所需缴纳的总金额为"+" "+b3);
        }
        if(a>100){
            double b4=200+a1;
            System.out.println("你所需缴纳的总金额为"+" "+b4);
        }


    }
}
